<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>完成案件</title>
    <link rel="stylesheet" type="text/css" href="../css/public-style.css"/>
    <link rel="stylesheet" type="text/css" href="../css/cancel.css"/>
    <style>
        body, html {
            overflow: auto;
        }
    </style>
</head>
<body>
<!-- 内容 -->
<div id="main">
    <!-- 头部 -->
    <header>
        <img src="../image/return.png" id="fanHui"/>
        <span id="tilte">完成案件</span>
    </header>

    <div class="content">
        <div class="reason bg">
            <div class="title">案件处理图片/处理结果上传</div>
            <div class="upImg"><img src="../image/ceshi.png"/></div>
            <div class="upload"></div>
        </div>
    </div>

    <div class="bg-blue">
        提交
    </div>

    <input type="file" name="_file" accept='image/*' id="up_file"/>
</div>
</body>
<script src="../js/remJs.js"></script>
<script src="../js/jquery-1.8.0.min.js"></script>
<script>
    $(document).ready(function () {
        $('.upload').click(function () {
            $('#up_file').trigger('click');
        })

        $('#up_file').change(function () {
            var up_file = $(this);
            var filepath = up_file.val();
            alert(filepath)
        })
    });

</script>
</html>